<form action="post.php?f={$f}&id={$id}" method="POST">
<table>
	<tr>
		<td>title</td><td><input type="text" name="title" value="{$post_info.title}"/></td>
	</tr>
	<tr>
		<td>content</td><td><input type="textarea" name="content" value="{$post_info.content}"/>  </td>
	</tr>	
	<tr>
		<td>catalog</td>
		<td>
		<select name="catalog" >
		{section name=catalog loop=$catalogs_list}		
		{if $catalogs_list.id eq $post_info.catalog.id }
		<option value="{$catalogs_list[catalog].id}" selected="selected">{$catalogs_list[catalog].catalog_name}</option>
		{else}
		<option value="{$catalogs_list[catalog].id}">{$catalogs_list[catalog].catalog_name}</option>
		{/if}
		{/section}
		</select></td>
	</tr>
	<tr>
	<td><input type="submit" name="submit" value="OK"/>  <input type="hidden" name="OP" value="submit"/>  
	
	</td></tr>
</table>
</form>